Automattic\Jetpack\Sync\Data_Settings S

Total Complexity 48
Dependencies 2
Dependents 1
Total lines 407
Lines of code 142
Logical lines of code 79
Comment lines 134
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
is_valid_filter_setting()
S
58 7 15
add_filters_custom_settings_and_hooks()
S
56 6 17
sync_data_filter_hook()
S
57 4 17
add_settings_list()
S
63 4 11
add_filters_for_enabled_module()
S
62 4 11
add_required_settings()
S
65 4 8
add_custom_filter_setting()
S
62 3 11
add_sync_filter_setting()
S
62 3 11
add_filters_for_disabled_module()
S
68 3 7
add_associative_filter_setting()
S
67 3 7
set_all_defaults()
S
70 2 6
get_default_setting_for_filter()
S
71 2 6
add_indexed_filter_setting()
S
68 1 8
empty_data_settings_and_hooks()
S
77 1 4
get_data_settings()
S
81 1 3